import { contextBridge } from "electron";
import { SystemHandle } from "./preload/SystemHandle";

contextBridge.exposeInMainWorld("system", {
  saveFileByUrl: (url: string, title?: string) =>
    SystemHandle.getInstace().saveFileByUrl(url, title),
});
